@echo off
chcp 65001
echo "开始提交代码"
:: Fri Jan  6 10:39:46     2023
:: 2-23-01 11:38:15
:: Fri Jan  6 11:38:45     2023
:: set "a=%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,2%:%time:~3,2%:%time:~6,2"
set "b=今天是%date:~0,2%，提交于%date:~3,4%-%date:~8,2%-%date:~11,2% %time:~0,2%:%time:~3,2%:%time:~6,2%"
set "a=%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,2%:%time:~3,2%"
git add *
git commit -m "%b%"
git push -u origin "master"
:: git push origin "master" -f
echo "提交成功"
exit